					<?php echo form_open_multipart('admin/khoalanadmin/xulycapnhat', array('id'=>'form'));?>
                      <table>
                        <legend>CẬP NHẬT THÔNG TIN KHÓA LẶN</legend>
                      <tr>
                        <td><label for="lastname">Tên đồ lặn : </label></td> 
                        <td><input name="tenkl" id="tenkl" type="text" tabindex="1" value="<?php echo $ttkl->tenkl; ?>" /></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname">Ngày bắt đầu : </label> </td> 
                        <td><input name="ngaybatdau" id="ngaybatdau" type="text" tabindex="2" value="<?php echo $ttkl->ngaybatdau; ?>" /></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname">Ngày kết thúc : </label> </td> 
                        <td><input name="ngayketthuc" id="ngaykethuc" type="text" tabindex="3" value="<?php echo $ttkl->ngayketthuc; ?>" /></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname">Giá : </label></td>  
                        <td><input name="gia" id="gia" type="text" tabindex="4" value="<?php echo $ttkl->gia; ?>" /></td> 
                      </tr>
                      <tr>                       
                        <td><label for="lastname">Hình ảnh : </label></td> 
                        <td><img src="<?php echo base_url().'asset/upload/'.$ttkl->hinh; ?>" width="80" height="60"></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname"></label></td>  
                        <td><input name="hinh" id="hinh" type="file" tabindex="5" /></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname">Mô tả : </label> </td> 
                        <td><textarea name="mota" tabindex="6" cols="10" rows="5"><?php echo $ttkl->mota; ?></textarea></td> 
                      </tr>
                      <tr>
                        <td><label for="lastname">Hiển thị : </label></td>  
                        <td><input name="hienthi" id="hienthi" type="checkbox" tabindex="7" value="true" <?php echo $ttkl->hienthi == 'true' ? 'checked="checked"' : '';?>  /></td> 
                        
                       </tr> 
                      </table>
                      
                      
                      <div align="center">
                      <input id="button1" type="submit" value="Save" /> 
                      <input id="button2" type="reset" />
                      </div>
                   <input type="hidden" name="makl" id="makl" value="<?php echo $ttkl->makl; ?>">
                    </form>